<include file="./head" />
<script type="application/javascript">
 var reg_url="{:U('reg_s')}?ajax=true";
</script>
<style>
.btn-retransmit {
	float: right;
	overflow: hidden;
	width: 44.13793103448276%;
	height: 42px;
	border: 1px solid #f15353;
	border-radius: 3px;
	background: #fff;
	line-height: 44px;
	text-align: center;
	cursor: pointer;
	font-size: 14px;
	color: #f15353
}
.btn-retransmit-disabled {
	box-shadow: none;
	border: 1px solid #e2e2e2;
	background: #e2e2e2;
	cursor: default;
	color: #bdbdbd
}
</style>
<div class="page-login">
  <div class="header">
    <div class="thumb-hidden" style="width:0px;height:0px; overflow:hidden;"><img src="__PUBLIC__/user/Content/images/logo.jpg" /></div>
    <div class="left"> <a class="logo" href="{:U("index/index")}"><img src="__PUBLIC__/user/Content/images/logo2.png"></a> <span>分享创造价值</span> </div>
  </div>
  <div class="page-viewport">
    <div class="main">
      <form action="{:U("login/reg_s")}" method="post" id="commentForm">
        <input class="hidden-anti" id="Anti" name="user_pid" type="hidden" value="{$uid}" />
        <div class="item item-tips">
          <div class="err-msg"><span class="field-validation-valid" data-valmsg-for="LoginName" data-valmsg-replace="true"></span></div>
        </div>
        <div class="item item-username">
          <input class="txt-input <?php if(C('MSG_STATE')){?> txt-phone <?php }else{ ?>txt-username<?php }?>" id="user_tel" name="user_tel" placeholder="请输入手机号码" type="text" value="" />
          <?php if(C('MSG_STATE')){?>
          <a href="javascript:void();" id="endsms" class="btn-retransmit btn-retransmit-disabled">获取短信验证码</a>
          <?php } ?>
        </div>
        <?php if(!C('MSG_STATE')){?>
        <div class="item item-username">
          <input class="txt-input txt-username" id="user_tel2" name="user_tel" placeholder="重复手机号码" type="text" value="" />
        </div>
        <?php }else{?>
        <div class="item item-username">
          <input class="txt-input txt-username" id="code" name="code" placeholder="验请输入短信验证码" type="text" value="" />
        </div>
        <?php }?>
        <div class="item item-tips">
          <div class="err-msg"><span class="field-validation-valid" data-valmsg-for="Password" data-valmsg-replace="true"></span></div>
        </div>
        <div class="item item-password">
          <input autocomplete="off" class="txt-input txt-password"  id="password" name="password" placeholder="请输入密码" type="password" />
        </div>
        <div class="item item-btns">
          <button class="btn-login" id="reg_sub" type="button" >立即注册开始赚钱</button>
        </div>
      </form>
      <div class="item item-btns"> <a href="{:U("login/index")}" class="btn-login button-success">已有帐号？点此登录</a>
        <?php if(C("WEIXIN_LOGIN")){?>
        <a href="<?php echo U('/User/login/weixin'); ?>" class="btn-login" style=" background-color:#390; margin-top:10px;" >免注册微信一键登录</a>
        <?php } ?>
      </div>
      <div class="item item-login-option"> <span class="register-free"> <a href="{:U("reg")}?uid=<?php echo session("user_pid"); ?>">免费注册</a> </span> <span class="retrieve-password"> <a href="{:U('/User/Login/RetakePassword')}">找回密码</a> </span> </div>
    </div>
  </div>
</div>
<script src="__PUBLIC__/user/sms.js?v=1"></script>
</body></html>